package com.ease.job.quartz.service.impl.authorization;

import java.util.Date;

import org.quartz.JobDetail;
import org.quartz.Trigger;

import com.ease.job.quartz.service.CronJobExecutionService;
import com.ease.job.quartz.support.CronJobExecutor;
import com.ease.job.quartz.support.CronJobStatus;
import com.ease.platform.authorization.callback.AuthorizationCallback;
import com.ease.platform.common.service.impl.authorization.AbstractAuthorizationProxyServiceImpl;

public class CronJobExecutionAuthorizationProxyServiceImpl extends AbstractAuthorizationProxyServiceImpl<CronJobExecutionService> implements CronJobExecutionService {

	public void addCronJobExecutor(CronJobExecutor cronJobExecutor) {

	}

	public void addJobDetail(JobDetail jobDetail, Date startTime, Date endTime, int repeatCount, long repeatInterval) {
		invoke(new AuthorizationCallback() {
		}).addJobDetail(jobDetail, startTime, endTime, repeatCount, repeatInterval);
	}

	public void addJobDetail(JobDetail jobDetail, String cronExpression) {
		invoke(new AuthorizationCallback() {
		}).addJobDetail(jobDetail, cronExpression);
	}

	public void addJobDetail(JobDetail jobDetail, Trigger trigger) {
		invoke(new AuthorizationCallback() {
		}).addJobDetail(jobDetail, trigger);
	}

	public String getAllCronJobExecutorStatus() {
		// TODO Auto-generated method stub
		return null;
	}

	public CronJobExecutor getCronJobExecutor(String cronJobExecutorName) {
		// TODO Auto-generated method stub
		return null;
	}

	public CronJobStatus getCronJobExecutorStatus(String cronJobExecutorName) {
		// TODO Auto-generated method stub
		return null;
	}

	public void pause(String cronJobExecutorName) {
		// TODO Auto-generated method stub

	}

	public void pauseAll() {
		// TODO Auto-generated method stub

	}

	public void shutdown(String cronJobExecutorName) {
		// TODO Auto-generated method stub

	}

	public void shutdownAll() {
		// TODO Auto-generated method stub

	}

	public void start(String cronJobExecutorName) {
		// TODO Auto-generated method stub

	}

	public void startAll() {
		// TODO Auto-generated method stub

	}

}
